<?php
html::printPath(array('language.form-title' => 'admin/language/all', 'application.page-title-display' => ''));
$msg->printMessages();

echo html::entityInfoIcon('language', $language, 'code');
?>

<ul class="commandList">
    <li class="editLi"><?php echo html::anchor('admin/language/edit?code=' . $language['code'], text::get('language.editThis')) ?></li>
    <li class="deleteLi"><?php echo html::anchor('admin/language/delete?code=' . $language['code'], text::get('language.deleteThis'), array('onclick'=>'return confirmDeletion()')) ?></li>
</ul>

<?php
$fb = new FormBuilder('language', $language);
$fb->displayOnly();
$fb->text('code')->identifyingValue();
$fb->text('name');
$fb->text('name_native');
$fb->write();
